package me.ereach.streams;

public class User implements Comparable<User> {
    private String name;
    private String gender;
    private Integer age;

    public User(String name, String gender, Integer age) {
        this.name = name;
        this.gender = gender;
        this.age = age;
    }

    public String getName() {
        return name;
    }

    public String getGender() {
        return gender;
    }

    public Integer getAge() {
        return age;
    }

    @Override
    public String toString() {
        return "User { name: " + name + ", gender: " + gender + ", age: " + age + " }";
    }

    @Override
    public int compareTo(User o) {
        return 0;
    }
}
